<?php
class ParamsChecker
{
	public static function requireNotNull($inputString, $message)
	{
		if ( (false == isset($inputString)) || ('' == trim($inputString)) )
		{
			throw new InputParamsException($message.gettext('error_not_null'));
		}
	}
    
    public static function requireNotZero($int, $message)
	{
		if ( (false == isset($int)) || (0 == trim($int)) )
		{
			throw new InputParamsException($message.gettext('error_not_zero'));
		}
	}
    
    public static function requireMoreThanOne($inputArray, $message)
	{
		if (empty($inputArray))
		{
			throw new InputParamsException($message.gettext('error_not_null'));
		}
	}

    /*
    public static function requireNoInvalidWords($inputString, $message)
    {
        if (Utility::filterKw($inputString))
        {
            throw new InputParamsException($message.gettext('contains_invalid_word'));
        }

    }*/
}
